home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Tool Chest / Dev.CD Feb 97 TC.toast / Sample Code / Development Tools & Languages / AppsToGo / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_249_a157 < prev    next >
Unknown  |  1994-09-22  |  1.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
100% TrID TTComp archive compressed (bin-2K) default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 29 00 00 00 00 00 00 | 00 29 61 31 35 37 00 00 |.)......|.)a157..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0f 43 6f 6e 74 72 | 6f 6c 4b 65 79 45 71 75 |...Contr|olKeyEqu|
|00000060| 69 76 00 00 06 00 00 00 | 00 00 c8 00 00 00 00 00 |iv......|........|
|00000070| 00 00 c8 00 00 00 14 03 | c1 00 28 05 7e 00 ff 00 |........|..(.~...|
|00000080| 00 00 00 00 00 0f a8 00 | 00 00 00 4e 1c 00 00 00 |........|...N....|
|00000090| 09 00 00 00 04 00 04 ff | fc ff fa 00 04 00 04 ff |........|........|
|000000a0| fc ff fc 00 00 00 00 00 | 00 00 00 83 00 0b 40 10 |........|......@.|
|000000b0| 6b 53 63 72 65 65 6e 41 | 50 49 2f 31 39 39 39 36 |kScreenA|PI/19996|
|000000c0| 00 06 47 65 6e 65 76 61 | 00 00 6e 42 6f 6f 6c 65 |..Geneva|..nBoole|
|000000d0| 61 6e 20 43 6f 6e 74 72 | 6f 6c 4b 65 79 45 71 75 |an Contr|olKeyEqu|
|000000e0| 69 76 28 57 69 6e 64 6f | 77 50 74 72 20 77 69 6e |iv(Windo|wPtr win|
|000000f0| 64 6f 77 2c 20 45 76 65 | 6e 74 52 65 63 6f 72 64 |dow, Eve|ntRecord|
|00000100| 20 2a 65 76 65 6e 74 2c | 20 43 6f 6e 74 72 6f 6c | *event,| Control|
|00000110| 48 61 6e 64 6c 65 20 2a | 72 65 74 43 74 6c 2c 20 |Handle *|retCtl, |
|00000120| 53 74 72 69 6e 67 50 74 | 72 20 64 65 66 61 75 6c |StringPt|r defaul|
|00000130| 74 45 71 75 69 76 73 29 | 3b 00 00 00 06 00 00 00 |tEquivs)|;.......|
|00000140| 00 00 a8 00 00 00 00 00 | 00 00 a8 00 00 00 00 03 |........|........|
|00000150| c1 00 14 05 7e 00 ff 00 | 00 00 00 00 00 0f a8 00 |....~...|........|
|00000160| 00 00 00 4e 1d 00 00 00 | 09 00 00 00 04 00 04 ff |...N....|........|
|00000170| fc ff fa 00 04 00 04 ff | fc ff fc 00 00 00 00 00 |........|........|
|00000180| 00 00 00 83 00 0b 40 14 | 6b 53 63 72 65 65 6e 4f |......@.|kScreenO|
|00000190| 6e 65 4c 69 6e 65 2f 31 | 39 39 39 37 00 06 47 65 |neLine/1|9997..Ge|
|000001a0| 6e 65 76 61 00 00 4a 44 | 65 74 65 72 6d 69 6e 65 |neva..JD|etermine|
|000001b0| 20 69 66 20 61 20 6b 65 | 79 70 72 65 73 73 20 69 | if a ke|ypress i|
|000001c0| 73 20 61 20 6b 65 79 20 | 65 71 75 69 76 61 6c 65 |s a key |equivale|
|000001d0| 6e 74 20 66 6f 72 20 61 | 6e 79 20 63 6f 6e 74 72 |nt for a|ny contr|
|000001e0| 6f 6c 20 69 6e 20 74 68 | 65 20 77 69 6e 64 6f 77 |ol in th|e window|
|000001f0| 2e 00 00 00 06 00 00 00 | 00 00 44 00 00 00 00 00 |........|..D.....|
|00000200| 00 00 44 00 00 00 00 02 | 6b 04 40 02 6c 01 00 00 |..D.....|k.@.l...|
|00000210| 00 00 00 00 01 0f f1 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 0c 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 06 00 00 00 00 00 7b 00 |........|......{.|
|00000250| 00 00 00 00 00 00 7b 00 | 00 00 00 02 6b 02 28 03 |......{.|....k.(.|
|00000260| c1 00 ff 00 00 00 00 00 | 00 0f a8 00 00 00 00 4e |........|.......N|
|00000270| 16 00 00 00 09 00 00 00 | 04 00 04 ff fc ff fa 00 |........|........|
|00000280| 04 00 04 ff fc ff fc 00 | 00 00 00 00 00 00 00 83 |........|........|
|00000290| 00 0b 40 0b 6c 69 6e 6b | 73 2f 31 39 39 39 30 00 |..@.link|s/19990.|
|000002a0| 06 4d 6f 6e 61 63 6f 00 | 00 10 61 32 35 42 2c 49 |.Monaco.|..a25B,I|
|000002b0| 73 43 74 6c 45 76 65 6e | 74 0d 00 16 00 01 00 00 |sCtlEven|t.......|
|000002c0| 00 00 00 10 00 0c 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 06 00 00 00 00 | 03 e3 00 00 00 00 00 00 |........|........|
|000002e0| 03 e3 00 00 00 00 00 00 | 75 30 02 6b 01 ff 00 00 |........|u0.k....|
|000002f0| 00 00 00 00 0f a8 00 00 | 00 00 4e 1f 00 00 00 09 |........|..N.....|
|00000300| 00 00 00 04 00 04 ff fc | ff fa 00 04 00 04 ff fc |........|........|
|00000310| ff fc 00 00 00 00 00 00 | 00 00 83 00 0b 40 0a 62 |........|.....@.b|
|00000320| 6f 64 79 2f 31 39 39 39 | 39 00 06 4d 6f 6e 61 63 |ody/1999|9..Monac|
|00000330| 6f 00 03 51 42 6f 6f 6c | 65 61 6e 20 43 6f 6e 74 |o..QBool|ean Cont|
|00000340| 72 6f 6c 4b 65 79 45 71 | 75 69 76 28 57 69 6e 64 |rolKeyEq|uiv(Wind|
|00000350| 6f 77 50 74 72 20 77 69 | 6e 64 6f 77 2c 20 45 76 |owPtr wi|ndow, Ev|
|00000360| 65 6e 74 52 65 63 6f 72 | 64 20 2a 65 76 65 6e 74 |entRecor|d *event|
|00000370| 2c 20 43 6f 6e 74 72 6f | 6c 48 61 6e 64 6c 65 20 |, Contro|lHandle |
|00000380| 2a 72 65 74 43 74 6c 2c | 20 53 74 72 69 6e 67 50 |*retCtl,| StringP|
|00000390| 74 72 20 64 65 66 61 75 | 6c 74 45 71 75 69 76 73 |tr defau|ltEquivs|
|000003a0| 29 3b 0d 0d 20 20 20 20 | 46 69 6c 65 3a 20 55 74 |);.. |File: Ut|
|000003b0| 69 6c 69 74 69 65 73 2e | 68 0d 0d 49 4e 50 55 54 |ilities.|h..INPUT|
|000003c0| 3a 20 20 77 69 6e 64 6f | 77 20 20 20 20 20 20 20 |: windo|w |
|000003d0| 20 20 20 20 20 20 20 54 | 68 65 20 77 69 6e 64 6f | T|he windo|
|000003e0| 77 20 77 68 6f 73 65 20 | 63 6f 6e 74 72 6f 6c 73 |w whose |controls|
|000003f0| 20 61 72 65 20 74 6f 20 | 62 65 20 63 68 65 63 6b | are to |be check|
|00000400| 65 64 20 66 6f 72 20 6b | 65 79 20 65 71 75 69 76 |ed for k|ey equiv|
|00000410| 73 2e 0d 20 20 20 20 20 | 20 20 20 65 76 65 6e 74 |s.. | event|
|00000420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 54 | | T|
|00000430| 68 65 20 6b 65 79 70 72 | 65 73 73 20 65 76 65 6e |he keypr|ess even|
|00000440| 74 2e 0d 20 20 20 20 20 | 20 20 20 64 65 66 61 75 |t.. | defau|
|00000450| 6c 74 45 71 75 69 76 73 | 20 20 20 20 20 20 20 49 |ltEquivs| I|
|00000460| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 64 65 66 |f there |is a def|
|00000470| 61 75 6c 74 20 62 75 74 | 74 6f 6e 2c 20 74 68 69 |ault but|ton, thi|
|00000480| 73 20 73 74 72 69 6e 67 | 20 69 73 20 74 68 65 20 |s string| is the |
|00000490| 73 65 74 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |set. | |
|000004a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004b0| 6f 66 20 6b 65 79 20 65 | 71 75 69 76 73 20 66 6f |of key e|quivs fo|
|000004c0| 72 20 69 74 20 28 69 66 | 20 69 74 20 68 61 73 20 |r it (if| it has |
|000004d0| 6e 6f 6e 65 20 6f 66 20 | 69 74 73 20 6f 77 6e 29 |none of |its own)|
|000004e0| 2e 0d 4f 55 54 50 55 54 | 3a 20 72 65 74 43 74 6c |..OUTPUT|: retCtl|
|000004f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 54 68 | | Th|
|00000500| 65 20 63 6f 6e 74 72 6f | 6c 20 77 68 6f 73 65 20 |e contro|l whose |
|00000510| 63 72 69 74 65 72 69 61 | 20 66 6f 72 20 6b 65 79 |criteria| for key|
|00000520| 20 65 71 75 69 76 73 20 | 77 61 73 20 6d 65 74 20 | equivs |was met |
|00000530| 62 79 20 74 68 65 20 65 | 76 65 6e 74 2e 0d 52 45 |by the e|vent..RE|
|00000540| 53 55 4c 54 3a 20 42 6f | 6f 6c 65 61 6e 20 20 20 |SULT: Bo|olean |
|00000550| 20 20 20 20 20 20 20 20 | 20 20 54 72 75 65 20 69 | | True i|
|00000560| 66 20 61 20 63 6f 6e 74 | 72 6f 6c 20 73 61 69 64 |f a cont|rol said|
|00000570| 20 69 74 20 77 61 73 20 | 61 20 6b 65 79 20 20 65 | it was |a key e|
|00000580| 71 75 69 76 2e 0d 0d 57 | 68 65 6e 20 61 6e 20 65 |quiv...W|hen an e|
|00000590| 76 65 6e 74 20 69 73 20 | 72 65 63 65 69 76 65 64 |vent is |received|
|000005a0| 2c 20 69 66 20 79 6f 75 | 20 6e 65 65 64 20 74 6f |, if you| need to|
|000005b0| 20 64 65 74 65 72 6d 69 | 6e 65 20 69 66 20 69 74 | determi|ne if it|
|000005c0| 20 69 73 20 61 20 6b 65 | 79 20 65 71 75 69 76 61 | is a ke|y equiva|
|000005d0| 6c 65 6e 74 20 66 6f 72 | 20 61 6e 79 20 63 6f 6e |lent for| any con|
|000005e0| 74 72 6f 6c 0d 69 6e 20 | 61 20 77 69 6e 64 6f 77 |trol.in |a window|
|000005f0| 2c 20 63 61 6c 6c 20 74 | 68 69 73 2e 20 20 4e 6f |, call t|his. No|
|00000600| 72 6d 61 6c 6c 79 20 79 | 6f 75 20 64 6f 6e 27 74 |rmally y|ou don't|
|00000610| 20 68 61 76 65 20 74 6f | 20 63 61 6c 6c 20 74 68 | have to| call th|
|00000620| 69 73 2c 20 61 73 20 49 | 73 43 74 6c 45 76 65 6e |is, as I|sCtlEven|
|00000630| 74 20 64 6f 65 73 20 69 | 74 20 66 6f 72 20 79 6f |t does i|t for yo|
|00000640| 75 2e 0d 48 6f 77 65 76 | 65 72 2c 20 74 68 65 72 |u..Howev|er, ther|
|00000650| 65 20 69 73 20 6e 6f 74 | 68 69 6e 67 20 73 74 6f |e is not|hing sto|
|00000660| 70 70 69 6e 20 79 6f 75 | 20 66 72 6f 6d 20 63 61 |ppin you| from ca|
|00000670| 6c 6c 69 6e 67 20 69 74 | 20 79 6f 75 72 73 65 6c |lling it| yoursel|
|00000680| 66 2e 0d 0d 0d 00 3e 00 | 03 00 00 00 00 00 0b 00 |f.....>.|........|
|00000690| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 02 |........|........|
|000006a0| f3 00 0b 00 09 00 04 05 | 00 00 09 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 02 fd 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|000006c0| 00 00 00 00 00 | |..... | |
+--------+-------------------------+-------------------------+--------+--------+